import {request} from "../../request";

export function getGloginById(id){
    return request({
        url:`/sys/log-login/${id}`,
        method:'get'
    })
}


export function getGloginPage(data){
    return request({
        url:'/sys/log-login/page',
        method:'put',
        data:data
    })
}

export function putGlogin(data){
    return request({
        url:'/sys/log-login',
        method:'put',
        data:data
    })
}
export function postGlogin(data){
    return request({
        url:'/sys/log-login',
        method:'post',
        data:data
    })
}

export function deleteGlogin(data){
    return request({
        url:`/sys/log-login`,
        method:'delete',
        data:data
    })
}
export function exportGlogin(data){
    return request({
        url:`/sys/log-login/export`,
        method:'get',
        data:data,
        responseType:'blob'
    })
}
